/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-04-10     huger       the first version
 */
#ifndef APPLICATIONS_BSP_BSP_UART4_DMA_H_
#define APPLICATIONS_BSP_BSP_UART4_DMA_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <bsp/bsp.h>

int uart_dma_sample(void);

int32_t serial_dma_rx(uint8_t* buff,int32_t wait);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* APPLICATIONS_BSP_BSP_UART4_DMA_H_ */
